package com.examribbon;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

//断路器使用@EnableCircuitBreaker 或者 @EnableHystrix注解
@EnableCircuitBreaker
@EnableDiscoveryClient
@SpringBootApplication
public class ExamRibbonApplication {

	public static void main(String[] args) {
		SpringApplication.run(ExamRibbonApplication.class, args);
	}

}
